package edu.yctc.weblog.dao;

import org.apache.ibatis.annotations.Mapper;

import edu.yctc.weblog.entity.AdminDO;

@Mapper
public interface AdminDAO {

    void insert(AdminDO adminDO);

    void deleteById(Long id);

    void update(AdminDO adminDO);

    AdminDO getAdminDOById(Long id);

    AdminDO getAdminDOByEmailAndPassword(String email, String password);

    AdminDO getAdminDOByMobileAndPassword(String mobile, String password);

}